projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fba9851
)
(graft_intervals_into_buffer): When TREE is null,
author
Richard M. Stallman
<rms@gnu.org>
Thu, 22 Jul 1993 08:06:55 +0000
(08:06 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 22 Jul 1993 08:06:55 +0000
(08:06 +0000)
pass buffer as 2nd arg to reproduce_tree.
src/intervals.c
patch
|
blob
|
history
diff --git
a/src/intervals.c
b/src/intervals.c
index 0922a074a96dc57c1ba1ea1e4663ed03da4e4299..402b96c4e3725125adaa86d10eaf49aa6c45933e 100644
(file)
--- a/
src/intervals.c
+++ b/
src/intervals.c
@@
-1114,7
+1114,9
@@
graft_intervals_into_buffer (source, position, buffer)
simply copy over the interval structure. */
if ((BUF_Z (buffer) - BUF_BEG (buffer)) == TOTAL_LENGTH (source))
{
- buffer->intervals = reproduce_tree (source, tree->parent);
+ Lisp_Object buf;
+ XSET (buf, Lisp_Buffer, buffer);
+ buffer->intervals = reproduce_tree (source, buf);
/* Explicitly free the old tree here. */
return;